/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "OA人员",TableName = "Oa_ren")]
[Table("Oa_ren")]
    public class Ren_oa:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ID")]
       [Column(TypeName="numeric")]
       [Required(AllowEmptyStrings=false)]
       public decimal ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LOGINID")]
       [MaxLength(960)]
       [Column(TypeName="nvarchar(960)")]
       public string LOGINID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LASTNAME")]
       [MaxLength(960)]
       [Column(TypeName="nvarchar(960)")]
       public string LASTNAME { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DEPARTMENTID")]
       [Column(TypeName="numeric")]
       public decimal DEPARTMENTID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MANAGERID")]
       [Column(TypeName="numeric")]
       public decimal? MANAGERID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MANAGERSTR")]
       [MaxLength(2000)]
       [Column(TypeName="nvarchar(2000)")]
       public string MANAGERSTR { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="STATUS")]
       [Column(TypeName="numeric")]
       public decimal? STATUS { get; set; }

       
    }
}